import request from '@/common/request'

export function getsenior (query) {
  return request({
    url: '/api/param/senior',
    method: 'get',
    params: query
  })
}
export function getgeneral (query) {
  return request({
    url: '/api/param/general',
    method: 'get',
    params: query
  })
}

export function postgeneral (data) {
  return request({
    url: '/api/param/general/add',
    method: 'post',
    data
  })
}

export function postsenior (data) {
  return request({
    url: '/api/param/senior/add',
    method: 'post',
    data
  })
}

export function postxiala (data) {
  return request({
    url: '/api/enum/selDictData',
    method: 'post',
    data
  })
}
